package request

type Login struct {
	Mobile   string `form:"mobile" binding:"required"`
	Password string `form:"password" binding:"required"`
}

type Search struct {
	ScenicSpotName string `form:"scenicSpotName"`
}

type ShowInfo struct {
	ScenicSpotId int `form:"scenicSpotId" binding:"required"`
}

type BuyTicket struct {
	ScenicSpotId int `form:"scenicSpotId" binding:"required"`
	PurchaserId  int `form:"purchaserId" binding:"required"`
	Num          int `form:"num" binding:"required"`
}

type AddPurchaser struct {
	Name    string `form:"name" binding:"required"`
	IdCarys string `form:"idCarys" binding:"required"`
}
